package com.example.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.dao.BookDao;
import com.example.domain.Book;
import com.example.service.BookServicePuls;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BookServicePulsImpl extends ServiceImpl<BookDao,Book> implements BookServicePuls {

    @Autowired
    private BookDao bookDao;




    @Override
    public boolean delete(int id) {
        return bookDao.delete(id);
    }
}
